package com.minhua.jijiehao2.constants

/**
 * @author moo
 * @date 2017/11/13.
 * @describe
 */
object HttpConst {
    /**
     * 成功状态码
     */
    const val SUCCESS_STATUS = 200
    /**
     * 20状态码
     */
    const val STATE_20 = "20"
    /**
     * 10状态码
     */
    const val STATE_10 = "10"

    /**
     * 生产路径
     */
    private const val NORMAL_BASE_URL = "http://116.62.174.111:80/"
    /**
     * 测试路径
     */
//    private const val TEST_BASE_URL = "http://112.124.34.77:8885/"
//    private const val TEST_BASE_URL = "http://test.51jjhao.com:8885/"
//    private const val TEST_BASE_URL = "http://116.62.174.111:8885"
    private const val TEST_BASE_URL = "http://116.62.174.111:8888/"
    /**
     * 测试路径(吴斌)
     */
    private const val TEST_WU_BASE_URL = "http://test.51jjhao.com/"

    /**
     * local
     *
     */
    private const val LOCAL_BASE_URL = "http://192.168.5.149:8080/"
    /**
     * 主机地址
     */
    const val HOST_NAME = TEST_BASE_URL

    /**
     * 用户登录
     */
    const val USER_LOGIN = "api/user/login.htm"
    /**
     * 用户登录
     */
    const val USER_LOGIN_OUT = "api/act/user/logout.htm"
    /**
     * 发送验证码
     */
    const val SEND_CODE = "api/user/sendSms.htm"

    /**
     * 手机号是否已注册
     */
    const val IS_PHONE_EXISTS = "api/user/isPhoneExists.htm"
    /**
     * 用户注册
     */
    const val USER_REGISTER = "api/user/register.htm"
    /**
     * 找回密码
     */
    const val FIND_PASSWORD = "api/user/login/forgetPwd.htm"
    /**
     * 修改密码
     */
    const val UPDATE_PASSWORD = "api/act/user/changeLoginPwd.htm"
    /**
     * 修改昵称
     */
    const val UPDATE_NAME = "api/act/user/login/upName.htm"
    /**
     * 首页Banner
     */
    const val HOME_BANNER_INFO = "api/info/getPicUrl.htm"
    /**
     * 首页Banner
     */
    const val HOME_HOT_INFO = "api/info/showHotRecommend.htm"
    /**
     * 信用卡列表
     */
    const val CREDIT_CARD_LIST = "api/credit/list.htm"
    /**
     * 列表小金库
     */
    const val HOME_MENU_LIST = "api/info/sortPicList.htm"
    /**
     * 分类列表页
     */
    const val HOME_MENU_LIST_LIST = "api/info/showByType.htm"
    /**
     * 贷款列表
     */
    const val LOAN_LIST = "api/info/showAll.htm"
    /**
     * 渠道详情页
     */
    const val LOAN_DETAIL = "api/info/showDetail.htm"
    /**
     * 获取用户信息
     */
    const val USER_INFO = "api/act/user/info.htm"
    /**
     * 获取服务电话
     */
    const val SERVICE_PHONE = "api/telephoneNum.htm"
    /**
     * 常见问题
     */
    const val PROBLEM = "api/problem/info.htm"
    /**
     * 获取服务电话
     */
    const val ADD_ACCOUNT = "api/account/save/records.htm"
    /**
     * 获取所有账单
     */
    const val GET_ACCOUNT_LIST = "api/account/query/records.htm"
    /**
     * 标记已还
     *  */
    const val REPAY_ACCOUNT = "api/account/update/repayStatus.htm"
    /**
     * 标记删除
     *  */
    const val DELETE_ACCOUNT = "api/account/delete/status.htm"

    /**
     * 开关
     *  */
    const val SWITCH = "/api/info/androidTransverter.htm"
//    /**
//     * 开关
//     *  */
//    const val SWITCH = "api/info/transverter.htm"

    /**
     * 分享
     *  */
    const val SHARE_INFO = "/api/userInvite/findInvite.htm"

    /**
     * 设置地址
     *  */
    const val SET_ADDRESS = "/api/info/insertOrUpdate/expressage.htm"

    /**
     * 统计详情
     *  */
    const val RECODE = "/api/act/trail/recode.htm"
    /**
     * 统计渠道点击量
     *  */
    const val CHANNEL_RECODE  = "api/act/info/getUrl.htm"
    /**
     * 上传图片
     *  */
    const val UPLOAD_IMAGE  = "/upload/image/uploadlocal.htm"

    /**
     * 上传公司信息
     *  */
    const val UPLOAD_COMPANY_INFO  = "/api/company/enter/Recommend.htm"

    /**
     * 圈子 首页信息
     *  */
    const val CIRCLE_ALL_INFO  = "/api/company/query/prod/bdata.htm"

    /**
     * 圈子 产品所有类型
     *  */
    const val PRODUCT_TYPE_LIST  = "/api/dict/query/type/list.htm"

    /**
     * 圈子 产品列表
     *  */
    const val BUSINESS_LIST = "api/company/query/prod/details.htm"

    /**
     * 圈子 上传产品信息
     *  */
    const val UPLOAD_PRODUCT = "/api/company/save/prod/detail.htm"

    /**
     * 圈子 获取浏览量
     *  */
    const val CLICK_NUM  = "api/company/query/prod/click.htm"
    /**
     * 圈子 获取浏览量
     *  */
    const val IDENTIFY_STATUS  = "/api/company/auditstate.htm"

    /**
     * 圈子 获取产品列表
     *  */
    const val PRODUCT_LIST  = "/api/company/all/product/auditstate.htm"

}